home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / text / anno / vport293.lha / ViewPort_Feb93.txt
Text File  |  1993-02-02  |  64KB  |  1,253 lines

  1.   
  2.   
  3.   
  4.             *                 .                   .                     *
  5.                                                                      .
  6.             .                   *StarShip*
  7.                       .                                       .
  8.         .    ____________________________________________________
  9.             /____________________________________________________\ *
  10.            //                                                    \\
  11.           //  _       _  _                  _____              _  \\
  12.          //  ( \     / )(_)                / _   )          __/ )  \\  .
  13.         ||    \ \   / /_  ____  _  __  _  / /_) /_____  ___(_  __)  ||
  14.     .   ||     \ \_/ // )/ __ )( \/  \/ )/ ____// _   )/ __)/ /     ||
  15.          \\     \   // // ___/  \      // /    / /_) // /  / /     //
  16.           \\     \_/(_/(____)    \_/\_/(_/    (_____/(_/  (_/ tm  //     *
  17.            \\                                                    //
  18.         *   \\__________________________________________________//
  19.              \__________________________________________________/     .
  20.        .                     *                                    .
  21.               .
  22.                                           .
  23.                                                               *
  24.   
  25.     ______________________________________________________________________
  26.   
  27.     February 1993                              Editor: Jim Meyer
  28.     Volume 2 Number One (V2.1)                 Publisher: Peggy Herrington
  29.                                                Producer: deb Christensen
  30.     ______________________________________________________________________
  31.   
  32.   
  33.   
  34.    Film at Eleven ........................................ Jim Meyer    1
  35.    Denny Atkin's Best Amiga Tips and Secrets........... Greg Guthman    2
  36.    Quarterback 5.0.3..................................... Kevin Rahe    3
  37.    Ami-Back 2.0........................................... Jim Meyer    5
  38.    Art Department Professional.......................... Yury German    7
  39.    HAM on 8 - Hold the Mayo!.............................. Jim Meyer    9
  40.    The ABC's of A-Train............................... Sylvia Lutnes   11
  41.    Pinball Fantasies...................................... Bob Eller   13
  42.    Running with ARexx, Part 2........................... Robin Evans   14
  43.    PCMCIA, Part 1...................................... Greg Guthman   16
  44.    End Notes and Coming Attractions.................................   18
  45.   
  46.   
  47.   
  48.   
  49.     ______________________________________________________________________
  50.   
  51.     ViewPort is a  *StarShip*(tm) Production available  on  GEnie(R).  For
  52.     details and information about contributing, send GE Mail to JIM.MEYER.
  53.     Copyright (C) 1992 *StarShip*.  Freely distributable when kept intact.
  54.   
  55.     To join GEnie, dial 1-800-638-8369  with your modem.  Upon CONNECTion,
  56.     enter hhh.  At the U#= prompt enter SIGNUP.   Have a major credit card
  57.     or your checking account number handy.
  58.     ______________________________________________________________________
  59.   
  60.   
  61.   
  62.   
  63.   
  64. ViewPort September, 1992 ----------------------------------------- Page 1
  65.   
  66.                               Film At Eleven
  67.                                by Jim Meyer
  68.   
  69. As you read this, DevCon '93 will be history, and some 400 Amiga developers
  70. will have scattered across the globe, renewed, recharged, and ready to
  71. forge ahead with the tasks at hand.  And just what are those tasks?  We
  72. really don't know yet, but there will be plenty of guesses over the next
  73. year or so.  Some of what is to come, at least from the developers, will
  74. grow from what is now at hand.  There are the new AGA modes to contend
  75. with, something that everyone - from spreadsheet developers to games people
  76. - will be addressing.  Then there are the new machines, with brand new
  77. opportunities for expansion.  We've already seen the first announcements of
  78. products specifically designed for the Amiga 1200, a trickle that is sure
  79. to turn into a deluge.
  80.   
  81. But what of Commodore?  With candor unusual for Commodore, Lew Eggebrecht
  82. outlined the next 2 years of the Amiga line.  We know what's coming and
  83. when, right?  Wrong.  While we've been given a good idea about some things,
  84. like the evolution of the AGA chipset and future operating system
  85. enhancements, it is likely that much more remains unknown.  And each
  86. development, of itself, opens up even more possibilities.  Retargetable and
  87. Device-Independent Graphics (RTG/DIG), for example, presents the possi-
  88. bility of Amigas running in a myriad of configurations, of Amiga displays
  89. limited only by available technology.  A standard Digital Signal Processor
  90. (DSP) - a computer within the computer - opens up even more doors.
  91.   
  92. But possibilities only exist within a universe that itself exists.  For the
  93. Amiga, there is no future beyond that which Commodore is able, or willing,
  94. to create.  The present Amiga market consists of a core of highly devoted,
  95. even fanatical, North American users, and an even larger base of European
  96. users.  The North American market has the most potential, and the largest
  97. demand for high-end Amigas.  The Europeans, on the other hand, tend to
  98. purchase low-end Amigas.
  99.   
  100. "Amiga consciousness," if you will, is still at a very low level in North
  101. America, although Canada is somewhat more evolved than the United States.
  102. You don't have to look far to see this, either.  While the press carries
  103. stories related to the computer industry on an almost daily business, the
  104. companies mentioned are almost guaranteed to be Apple, IBM, Intel, or
  105. Microsoft.  While this is due in part to the relative sizes of these
  106. companies, it is also a reflection of how well the Public Relations
  107. departments of those companies have performed.
  108.   
  109. Recently, in a story about Intel released on the AP news wire, John Enders
  110. said "Although Apple Computer Inc.  develops its own chips, virtually all
  111. IBM or IBM-compatible computers use Intel chips." What's wrong with this
  112. picture?  Well, the story was about CPU chips.  Apple neither designs nor
  113. manufactures such chips, PowerPC aside.  But Commodore does; remember the
  114. 6502?  And while Apple does design some custom logic chips, Commodore alone
  115. designs and manufactures co-processor chips.
  116.   
  117. Which brings us to Commodore's Press Relations folks; I hope they're paying
  118. attention.  The story I mentioned should have drawn an immediate response
  119. from Commodore; Mr. Enders might have kept that in mind for the next
  120. story.  And that's only one case; there are many more.  These are tough,
  121. competitive times, and the Amiga needs guerilla warriors working the press.
  122. While I'll eagerly await the news of new hardware and software from DevCon
  123. '93, I'll also keep my fingers crossed.  I'm hoping that the developers
  124. finally carried the message to Commodore's Marketing people:  No more Mr.
  125. Nice Computer, folks...  This is war!
  126.   
  127.   
  128.   
  129.   
  130. ViewPort February, 1993                                           Page 2
  131.   
  132.   
  133.                 Best Amiga Tips and Secrets, by Denny Atkin
  134.                                 Reviewed by
  135.                       Greg Guthman (a.k.a. Amiga.Doc)
  136.   
  137. Imagine being able to relive one of my favorite episodes of Star Trek.  You
  138. remember the one:  Doctor McCoy puts on this wild thinking helmet to absorb
  139. the knowledge of an entire planet so he can replace the brain of Mr.
  140. Spock!  While the experience of reading this book will not allow you to
  141. transplant a brain, I promise that you will know more about the Amiga than
  142. you ever did before.  Denny Atkin, one the foremost authorities on the
  143. Amiga, has taken time out from his duties of editing the Amiga Resource
  144. edition of COMPUTE magazine and his many article-writing duties to give the
  145. Amiga community an invaluable resource.
  146.   
  147. This 232 page book has it all, from A64 emulator talk to Zmodem Protocol.
  148. The 12 sections are presented in logical fashion, and encompass the full
  149. realm of Amiga computing, including much discussion of the "new" Amiga
  150. product line and operating systems. There are a few errors and omissions --
  151. like a mislabeled first chapter, and a lack of discussion of the 25 MHz
  152. 386sx Bridgeboard -- but the problems are minor.
  153.   
  154. This book is packed to the brim with tons of real tips and secrets that had
  155. me feeling like I was new Amiga user all over again.  It has all the
  156. questions I see online and -- better yet -- the book contains the answers!
  157. The tricks and tips are fully compliant with AmigaDOS 2.x and 3.0, too.
  158. Sprinkled throughout the book are specific items for these newer versions
  159. of the operating system.  I only wish Denny had come out with this book
  160. when I was struggling along with my 4000 and had to figure out AGA on my
  161. own.  Here is a list of the chapters:
  162.   
  163.   o Buying an Amiga                     o Disks
  164.   o Workbench                           o CLI Tips and Tricks
  165.   o Printer Tips and Tricks             o Hardware and Upgrades
  166.   o CD-ROM on the Amiga                 o Multiple Personalities
  167.   o Monitors and Amiga Video             (Emulation and File Transfer)
  168.   o AGA: The Next Generation Amigas     o Telecommunications on the Amiga
  169.   o Miscellany (Just about everything else!)
  170.   
  171. Two appendices are included to recommend software and hardware for the
  172. Amiga user.  Although the author warns us that this is his slant on what he
  173. thinks every Amiga user should have in his or her arsenal of software, I
  174. almost wish these sections were not included; none of my favorite goodies
  175. were picked, of course.  It might have been better to include a short list
  176. of the most popular titles in the various categories, but it's hard to
  177. begrudge someone for plugging their favorite software and hardware items.
  178.   
  179. The bottom line is that I wholeheartedly endorse this book.  I mean, how
  180. can a book go wrong when it starts by acknowledging our fearless leader on
  181. GEnie, Deb Christensen!  I find myself using this reference instead of the
  182. 3.0 manuals that came with my 4000.  After all, what easier way is there to
  183. pick the brain of Denny Atkin then by grabbing a book?  If you have an
  184. Amiga or are thinking of getting one in the near future, this will be the
  185. book to have for 1993!
  186.   
  187.   
  188. Denny Atkin's                      Published by COMPUTE Publications
  189. Best Amiga Tips and Secrets        International Ltd., and distributed
  190. ISBN 0-87455-275-3                 in the United States by Bob Adams, Inc.
  191. $19.95                             1-800-872-5627
  192.   
  193.   
  194.   
  195.   
  196. ViewPort February, 1993                                             Page 3
  197.   
  198.   
  199.                       A Tale of Two (Backup) Programs
  200.   
  201. One thing has become obvious to most computer users:  a hard drive is no
  202. longer a luxury; it's a necessity.  Indeed, the computer world seems to be
  203. divided into two camps:  Those who have hard drives, and those who are
  204. saving up for one.  Hard drives, however, are subject to an important
  205. corollary of Murphy's law:  disaster is most likely to strike the
  206. unprotected.  With that in mind, we'll take a look at the two most popular
  207. hard drive backup utilities, Quarterback 5.0 and Ami-Back 2.0.
  208.   
  209.   
  210.                              Quarterback 5.0.3
  211.   
  212.                                by Kevin Rahe
  213.   
  214. As a Quarterback user since version 2.0, I've trusted a lot of
  215. information to this backup utility.  In addition to backing up my hard
  216. disk, it does double duty as a tool for archiving animations, graphics
  217. and text files.  Version 5 brings many welcome and long-needed
  218. enhancements to the Quarterback user.
  219.   
  220. The most noticeable difference between Quarterback version 5 and previous
  221. versions is the user interface.  Version 5 has modern 3D buttons and
  222. gadgets, and keyboard equivalents for nearly all of them.  The organization
  223. of many of the options and requesters has been changed as well.  Where
  224. previous versions led you through a set sequence of screens for choosing
  225. backup or restore, selecting devices, choosing files and setting options,
  226. version 5 lets you do any of these operations at any time, in any order.
  227. And with ARexx support and the ability to have multiple configuration
  228. files, often you won't need to do any of them.
  229.   
  230. Besides sporting a new user interface, version 5 adds a lot of
  231. functionality.  Major items from my wish list included in version 5 are
  232. ARexx support, named backups and compression.  Another useful addition is
  233. the Tag Filter requester, which adds options for including or excluding
  234. files by date modified or by name.  Lists of named files to be included or
  235. excluded can be saved and loaded at will.  The date options let you include
  236. OR exclude files modified before OR after a given date.  This is handy for
  237. selecting files such as BBS and network message archives that were last
  238. modified before a specific date, something that previous versions of
  239. Quarterback couldn't do.
  240.   
  241. Quarterback now supports a variety of backup devices, including tape drives
  242. and removable hard, floptical and optical drives.  While I haven't had an
  243. opportunity to test Quarterback with any of these devices, acquaintances of
  244. mine who have report good results, and I look forward to using Quarterback
  245. with a floptical drive of my own in the near future.
  246.   
  247. The compression option works well, but larger compression block sizes can
  248. require a lot of memory and will slow down backup and restore operations,
  249. especially on slower Amigas.  The memory consideration is especially
  250. important if you plan to restore backups on a system other than the one
  251. they were created on.  For example, backups made with 16-bit compression on
  252. my 5MB A2500 cannot be restored on my 2MB A1000.  Dropping compression size
  253. to 12 bits increases the number of disks needed to back up my hard drive,
  254. but allows me to restore files to my A1000.
  255.                                                                 (Continued)
  256.   
  257.   
  258.   
  259.   
  260.   
  261.   
  262. ViewPort February, 1993                                             Page 4
  263.   
  264.   
  265. While Quarterback's ARexx support is good, it is incomplete.  Many options
  266. and parameters cannot be set directly from an ARexx script, including those
  267. in the Session Log, Catalog, Tag Filter and Session Info requesters.  If
  268. you need to set any of these options from within an ARexx script, the best
  269. you can do is bring up the requester so the user can set them manually.
  270. This problem could be alleviated somewhat by loading different Settings
  271. configurations, but Quarterback doesn't support loading Settings from
  272. ARexx, either.
  273.   
  274. Quarterback has still some minor but potentially aggravating bugs.  When
  275. backing up to an AmigaDOS file with Verify on, Quarterback reports errors
  276. during the compare stage, even though the backup file is okay.  More
  277. serious is a problem Quarterback has with files that change size between
  278. the time a backup is started and the time they're actually backed up.  If
  279. you modify a file while Quarterback is performing a backup, and the updated
  280. file is a larger or smaller than the original, Quarterback will simply stop
  281. when it reaches that file, and you will have to start the backup all over
  282. again.  This is unacceptable behavior for a program this mature.
  283. Quarterback should be able to handle this situation in stride, or at the
  284. very least skip the file and issue an error message.
  285.   
  286. While the new features in Quarterback save me a lot of time, I lament the
  287. loss of a couple features in older versions, namely a disk full gauge and
  288. non-interruptive disk change prompts.  Previous versions of Quarterback
  289. would beep unobtrusively for disk changes, allowing you to switch disks and
  290. continue working without flipping screens or deselecting the active window.
  291. Version 5, however, makes its window active and brings the Workbench screen
  292. to the front whenever it needs a new disk.  This is potentially dangerous
  293. if you happen to be typing in another window at the time, as your
  294. keystrokes will suddenly be directed to Quarterback, and you could
  295. inadvertently abort the entire backup if you happen to be hitting the right
  296. sequence of letters.  Not allowing the user to turn this "feature" off was
  297. a poor design decision that will hopefully be corrected in the next major
  298. release.
  299.   
  300. The manual is well organized and helpful, but lacks an index.  Support has
  301. been good, with knowledgeable support people manning the phones, and freely
  302. distributable patches for bug fixes.
  303.   
  304. Overall, Quarterback is a good investment for protecting and archiving your
  305. data.  Version 5 brings it solidly into the 1990s.  With a few more bug
  306. fixes and enhancements and more complete ARexx support, Quarterback could
  307. well become world-class.
  308.   
  309.   
  310. Quarterback
  311. Central Coast Software                ___________________________________
  312. 206 Wild Basin Rd., Suite 109        /                                   \
  313. Austin, TX 78746                    |   The *StarShip* 5MINUTE News!      |
  314. (512) 328-6650                      |                                     |
  315. $75.00                              | Catch the *StarShip* 5-MINUTE News  |
  316.                                     | each and every weekend on GEnie!    |
  317.                                     | New products and upgrades, industry |
  318.                                     | trends and stories, special events  |
  319.                                     | and upcoming trade shows --- it's   |
  320.                                     | ALL there and it ONLY takes five    |
  321.                                     | minutes!  Premission granted for    |
  322.                                     | passing it along as long as credit  |
  323.                                     | is given.  Grab your copy today!    |
  324.                                      \___________________________________/
  325.   
  326.   
  327.   
  328. ViewPort February, 1993                                             Page 5
  329.   
  330.   
  331.                                Ami-Back 2.0
  332.   
  333.                                by Jim Meyer
  334.   
  335.   
  336. I first reviewed Ami-Back when I was writing for .info magazine.  I was
  337. impressed then with Ami-Back's speed, ease of operations, and the quality
  338. of its support.  Almost two years have passed, and Ami-Back is now at
  339. version 2.0; it's time for another look.
  340.   
  341. At first blush, not much has changed.  Ami-Back still comes in two versions
  342. -- one for the 1.3 operating system, and one for 2.04 or better. Since I no
  343. longer have a 1.3 machine in the house (and neither should you!), I tested
  344. the 2.04 version.
  345.   
  346. Ami-Back - not copy protected, and shipped on a single floppy - now comes
  347. with the Commodore Installer program; hard drive installation is quick and
  348. painless, and help is available through the Amiga.Guide facility.  The
  349. manual, at 70 pages, is competent, if not world-class.  It covers the
  350. features of Ami-Back in logical sequence, from program configuration to
  351. backup to restore.  Particular attention is paid to the 3M MCD-040 drive -
  352. something of a popular oddball among tape backup units - which was welcome
  353. news to me.  I own one.
  354.   
  355. When you first run Ami-Back, you have 4 choices - Backup, Restore,
  356. Scheduler, or Quit.  Before you select an operation, though, you'll have to
  357. configure both the program and the backup operation.  These are menu items.
  358. Ami-Back utilizes a different screen for each operation.  Most choices can
  359. be made through point-and-click operations.  All mounted partitions are
  360. displayed, and the destination (floppy drive(s), tape drive, AmigaDOS file,
  361. or one of the mounted devices) is selected through a cycling gadget.
  362. Ami-Back works with floppies, of course, as well as tape drives (streaming,
  363. direct access, or DAT), high-density floppies, or AmigaDOS files.  That
  364. last choice lets you utilize any device that can be mounted; I used it to
  365. back up my A4000 to a drive on my A2000 through the PARNET device.
  366.   
  367. The backup options include the "standard" set - complete or selective,
  368. verify or no verify, compression (there is only one compression method),
  369. and a very flexible file and directory filter.  The filter lets you select
  370. or exclude files by protection bits, date, wildcard pattern, directory, and
  371. even comment field.  In addition, Ami-back supports "image" backups -
  372. essentially a bit-by-bit information transfer - that allow you to back up
  373. non-AmigaDOS partitions, such as AMax or Unix.  Finally, the latest release
  374. of Ami-Back features a "911-Recovery" mode which can be used to recover
  375. data from a damaged hard drive or to recover deleted files.
  376.   
  377. Ami-Back doesn't require you to format floppies prior to a backup; it takes
  378. care of that detail for you.  And it recognizes disk insertions, so all you
  379. have to do during a backup is feed the drive.  One note about high-density
  380. floppies:  Ami-Back will recognize and use them, if they are
  381. Commodore-standard, but you may not mix high- and low-density drives.  If
  382. you have a high-density drive, make sure that the last floppy you insert,
  383. prior to the backup, is formatted as a high-density disk.  Otherwise,
  384. Ami-Back will assume that you're using low-density disks, and you'll get an
  385. error.
  386.                                                                 (Continued)
  387.   
  388.   
  389.   
  390.   
  391.   
  392.   
  393.   
  394. ViewPort February 1993                                              Page 6
  395.   
  396.   
  397.   
  398. If you're not the most organized person in the world, you might want to
  399. take advantage of Ami-Back's automatic backup program, AmiSched.  This
  400. utility - a separate program that can be called from Ami-Back - lets you
  401. schedule backups by the hour, day, week, or even month.  There are 10
  402. different schedule configurations, each of which lets you specify a
  403. particular schedule and backup configuration.  This scheme lets you tailor
  404. your backup schedules to your needs.  If, for example, you know that your
  405. WORK:  partition gets new files during the day, while your DOWNLOADS:
  406. partition sees activity primarily on the weekends, you can schedule each
  407. for backup when it's most needed.
  408.   
  409. The flexibility of Ami-Back with respect to backup devices is one of its
  410. most important features, and one to which Moonlighter pays special
  411. attention.  When I reviewed the previous version, there was no specific
  412. support for the MCD-040 tape drive.  I gave Moonlighter a call, as did a
  413. few others, and options specific to this drive were added in the very next
  414. version.  (The MCD-040 is a relatively slow drive, but it's common and
  415. inexpensive.) When I set up my A4000, I was concerned that the lack of a
  416. SCSI interface might reduce me to floppy backups; I needn't have worried.
  417. Thanks to a ParNet connection to my A2000, and the ability of Ami-Back to
  418. speak to any mounted device, I can just perform my backups across the net.
  419.   
  420. Restoring a backup is a simple operation; you select Restore, set or load
  421. your Restore configuration, and proceed.  If you've lost your index, as
  422. sometimes happens, Ami-Back can build a new one.  And if you encounter a
  423. bad file - something that happens too often with old floppies - you can
  424. skip that file and proceed to the next.
  425.   
  426. Ami-Back features an ARexx port, which understands four functions (Backup,
  427. Restore, Load, and Quit) and it can be placed in Rexx Server mode to await
  428. ARexx commands.  The documentation on this is skimpy, but it's not terribly
  429. complicated, and a sample script is provided.
  430.   
  431. Ami-Back became my favored backup utility as soon as I tested it, and it's
  432. only gotten better.  It is fast, reliable, and easy to use, and it looks
  433. equally good under Workbench 1.3, 2.04, or 3.0.  (You'll find extra goodies
  434. under Workbench 2.04 and beyond, though.) In the competitive world of
  435. backup utilities, Ami-Back is the one to beat.
  436.   
  437.   
  438. Ami-Back 2.0 (Version 2.0f.1 tested)
  439. Moonlighter Software Development, Inc.
  440. 3208-C East Colonial Drive, Suite 204
  441. Orlando, Florida 32803
  442. (407) 384-9484
  443. $79.95
  444.   
  445.   
  446.   
  447. Editor's Note:  Check Category 25, Topic 5, for an ongoing discussion of
  448. Quarterback, as well as various brands of streaming tape drives.  You'll
  449. find Ami-back discussed in Category 3, Topic 9, and you'll find a general
  450. discussion of backup programs and streaming tape drives in Category 17,
  451. Topic 2.
  452.   
  453.   
  454.   
  455.   
  456.   
  457.   
  458.   
  459.   
  460. ViewPort February, 1993                                             Page 7
  461.   
  462.   
  463.                         Art Department Professional
  464.   
  465.                               by Yury German
  466.   
  467. Art Department Professional (ADPro) was one of the first image manipulation
  468. packages to find its way to the Amiga platform, and it's still one of the
  469. best.  ADPro is based on a modular system that lets you add functionality
  470. as you need it.
  471.   
  472. Image conversion is one of ADPro's primary uses.  It comes with a variety
  473. of modules called Loaders that permit importing graphics from various
  474. platforms.  IFF images -- including HAM and Sham -- are fully supported, as
  475. well as the 256-color and HAM8 AGA graphics modes of the Amiga 4000 and
  476. 1200.  You can load images from the Workbench Clipboard as well.
  477.   
  478. ADPro's Universal Loader identifies file formats and selects the proper
  479. Loader; you don't have to pick and choose as you import files.  Besides
  480. Amiga formats, ADPro handles many others.  Here's a recap of some of them:
  481.   
  482.   BMP, the primary format under IBM Windows.
  483.   DPIIE, Deluxe Paint IBM-compatible format.
  484.   DV21, NewTek DigiView files (which are becoming extinct pretty fast).
  485.   Framegrabber from Progressive Peripherals & Software.
  486.   GIF and 24-bit JPEG files.
  487.   HamE and DCTV pictures can be loaded directly.
  488.   Impulse RGB and IV24 formats are supported.
  489.   Macpaint files
  490.   PCX, another IBM-compatible standard
  491.   QRT (used by some Ray Tracers) is also fully supported.
  492.   
  493. Image manipulation is ADPro's strong point, as evidenced by its many
  494. Operators.  Once you have an image loaded, ADPro can do many things to it;
  495. you can blur, sharpen, change the picture to greyscale, colorize a
  496. greyscale image, crop the image either numerically or visually, and do
  497. much, much more.  One of the niftiest things you can do with it is called
  498. image composing, which lets you make your own collage using simple
  499. operators.  ADPro lets you achieve these changes quickly and easily.
  500.   
  501. One of the things I love ADPro for is its text operator.  While not as
  502. powerful as other packages, it provides an easy way to add titles or
  503. copyright notices to images in a variety of colors and patterns.  The
  504. emboss feature of the Text Operator is top notch; this operation would take
  505. many steps to achieve otherwise.  One thing the Text Operator is missing is
  506. the ability to rotate text; although you can achieve this effect a
  507. different way, it takes more time than doing it directly.  ADPro's Tile
  508. Operator lets you create great backgrounds if you load a simple brush from
  509. the Clipboard, and it's a great way to make patterns with the picture of
  510. your choice for use as backgrounds.  If you have Micro Illusion's Transport
  511. Controller, you can transfer your finished frames directly to a compatible
  512. VTR, thanks to the Operator provided.
  513.   
  514. Manipulation of an image's palette is also simple; there are an abundance
  515. of colors provided for you right on your display, as well as the standard
  516. sliders for Brightness, Contrast, and Gamma.  One of the things that might
  517. work well with video is the ability to exclude Color 0 from images when
  518. rendering them to a predefined number of colors.  This is useful so that
  519. the image will not be transparent when used with a genlock.
  520.                                                                 (Continued)
  521.   
  522.   
  523.   
  524.   
  525.   
  526. ViewPort February, 1993                                             Page 8
  527.   
  528.   
  529. ADPro is able to render images in different formats, using from 2 to 256
  530. colors, although on non-AGA Amigas you would only see up to 64 colors in
  531. LoRes and up to 16 colors in HiRes.  On an AA (or, as they are now called,
  532. AGA) machine you can see the full spectrum of 256 colors onscreen.  ADpro
  533. is also able to render HAM and HAM8 images on any machine, although the
  534. same rules apply with respect to HAM8 as to 256 colors.  And the screen
  535. resolution of the image can vary depending on your machine.  On standard
  536. non-AGA Amigas, it will display 768 x 482 images.  If you have an A3000 or
  537. an Extended Denise chip installed, you can use the Super Modes as well.  On
  538. an AGA machine, the software will let you view a picture in full
  539. resolution.
  540.   
  541. ADPro Savers
  542.   
  543. Once you are finished manipulating an image you will, of course, want to do
  544. something with it.  ADPro offers a variety of image output options, called
  545. Savers.  One of them is the Print Saver, which lets you print your image in
  546. 256-color greyscale on black and white printers and in simulated 24-bit
  547. color on color printers, all using your Workbench Preferences settings.
  548. This Saver is now a stand-alone utility released by ASDG as TruePrint24
  549. (without the ASCII print option), but it comes built into ADPro.  Another
  550. option is to save your image to disk in PostScript format for printing at a
  551. service bureau.  This part of ADPro is quite technical, and many pages in
  552. the manual are devoted to it.  It is useful if you output images to
  553. PostScript or other high-quality printers.
  554.   
  555. The only option left for image output is saving it, and ADPro gives you
  556. plenty of options to choose from.  Some of its Savers are ways for you to
  557. output images from ADPro directly to a card in your Amiga.  Things that are
  558. provided are DCTV (not as a saver), Commodore A2410, Firecracker 24,
  559. Framebuffer, HAM-E, Harlequin, and IV24.  Other manufacturers are providing
  560. ADPro drivers with their software for easy inclusion in this package.
  561. Check with the graphics board manufacturer for the availability of such
  562. Savers.  ADPro also lets you save images as IFF, BMP, Amiga clipboard
  563. (handy for making icons), DPIIE, GIF, Impulse, PCX, QRT, Scuplt and JPEG --
  564. which covers just about any popular platform you can think of.  If you need
  565. more formats, you can purchase ASDG'S Pro Pack.  It contains Loaders and
  566. Savers for Rendition, Sunraster, Targa, Tiff and X11, giving you the full
  567. range of professional standards.  As I mentioned earlier, different modules
  568. (including Savers) can be added to ADPro as needed, some of them being
  569. scanner drivers, output device drivers, and more.
  570.   
  571. ADPro is also ARexx-friendly, giving you the ability to access and
  572. manipulate Loaders, Savers, palettes, Operators and printing, all from
  573. within ARexx making this a valuable and versatile Amiga utility.  Check the
  574. *StarShip* libraries; you'll find quite a few ADPro scripts.
  575.   
  576. Overall, I highly recommend ADPro -- it's top-notch in Amiga image
  577. manipulation software.  ASDG provides technical support for all of its
  578. Amiga products on the *StarShip*.  Should you want more information, simply
  579. leave a message for ASDG in Category 27 on the Bulletin Board and check
  580. back later for a personal reply.
  581.   
  582.   
  583. ADPro $299.00
  584. ASDG, Inc.
  585. 925 Stewart St.
  586. Madison, WI 53713
  587. 608/273-6585
  588.   
  589.   
  590.   
  591.   
  592. ViewPort February, 1993                                             Page 9
  593.   
  594.   
  595.                           HAM on 8 - Hold the Mayo!
  596.                                 by Jim Meyer
  597.   
  598. Now that the first two shoes in the Amiga AGA family have dropped - with
  599. the promise of more on the way - the advantages and inner workings of the
  600. HAM8 mode should be familiar to us all.  They aren't, though, and
  601. Commodore's own advertising has done little to shed any light on HAM8.
  602. Well, ignorance is NOT bliss.  Read on, and discover what HAM8 really is...
  603. and isn't.
  604.   
  605. In the beginning, there was Miner.  Jay Miner, that is, and he and his
  606. minions saw color.  And it was good color, but it wasn't enough, so -
  607. instead of resting - they invented HAM.  HAM, of course, is a neat "hack"
  608. that enables the Amiga line to achieve a color space much larger than its
  609. bandwidth would seem to allow.  Those three letters stand for Hold And
  610. Modify, and therein lies the secret of this mode.  Because HAM and HAM8
  611. operate in the same manner, we'll begin with the original HAM.
  612.   
  613. Color information in a computer is maintained as a set of binary numbers:
  614. bits, eight of which comprise a byte.  However, color is presented to the
  615. outside world through a Cathode Ray Tube (CRT, or Monitor), which
  616. illuminates red, green, and blue phosphors with an electron beam of varying
  617. intensity.  Thus a binary number - 01 11 00 10, for example - must be
  618. translated into values for red, green, and blue, which are then passed on
  619. to the monitor.  The simplest method would be for the binary number to
  620. represent an actual color value, and for that value to occupy a number of
  621. bits that is a multiple of 3.  Given six bits, grouped in twos, the value
  622. 01 11 10 could be translated into a red value of 1, a green value of 3, and
  623. a red value of 2.
  624.   
  625. The problem with this scheme is that it only gives us 4 values per color
  626. gun, and those colors are "hard coded." If you've used the CGA video
  627. system, you've seen the problem.  The manufacturer of the monitor
  628. determines what a red value of 10, for example, really means.  A
  629. work-around for this is the use of color registers.  In the case of the
  630. original Amiga chipset, the binary value points at any one of 32 color
  631. registers.  Each of these registers contains a 12-bit color value - 4 bits,
  632. or 16 shades, per gun - allowing a palette of 4,096 colors.  In normal
  633. modes, you are allowed a maximum of 32 colors from this palette.  Extra
  634. Halfbrite mode, which allows 64 colors, really only allows 32 colors.  The
  635. other 32 colors available in this mode are the same as the first 32, but at
  636. half the intensity.
  637.   
  638. Which brings us to HAM.  So far, the numbers we've been assigning to
  639. individual pixels refer only to a color register.  In HAM mode, the numbers
  640. that comprise a pixel value can refer to a color register OR can be used to
  641. change (Modify) the value of one of the color components - Red, Green, or
  642. Blue.  First, we'll look at the Amiga's original HAM mode.
  643.   
  644. In low resolution mode, the Old Chip Set (OCS) uses a 6 bit value for color
  645. specification.  Normal modes, restricted to 32 colors, use only 5 bits;
  646. Extra Halfbrite uses the highest bit to signal either full intensity or
  647. half intensity.  But in HAM mode, the numbers take on a new meaning.  The
  648. two highest bits, taken as a pair, determine the meaning of the remaining
  649. 4.  If these two bits are 00, then the next 4 bits refer to one of the
  650. first 16 color registers.  The value in that register is the color value of
  651. the pixel.  If, however, the first two bits are 01, 10, or 11, then the
  652. next 4 bits will be substituted for the Red, Green, or Blue value -
  653. respectively - of the current pixel.
  654.                                                                 (Continued)
  655.   
  656.   
  657.   
  658. ViewPort February, 1993                                            Page 10
  659.   
  660.   
  661. Let's take an example.  The value for the first pixel on the screen is, in
  662. binary, 00 10 00.  The first bit-pair, 00, means that we'll be using a
  663. color register.  (The first pixel must come from a register, since there's
  664. nothing to modify yet.) The next four bits - 1000 - specify color register
  665. 8.  For the sake of this example, we'll say that color register 8 contains
  666. the number 101110000000.  Broken down, that's a value of 1011 for Red, 1000
  667. for Green, and 0000 for Blue.
  668.   
  669. The value for the next pixel is 011100.  The first two bits, 01, signal
  670. that we will Hold the green and blue values, and Modify the red.  The last
  671. four bits - 1100 - are substituted for the Red component (1011) of the
  672. previous pixel.  What we've just done is increased the Red value of that
  673. pixel by 1.  We can modify any component by 4 bits, giving us 16 possible
  674. values for each.  Multiply 16 * 16 * 16 and you'll see that the number of
  675. possible colors is now 4,096.  The drawback to this method is that you can
  676. only change one value at a time.  If you need to change more than one
  677. component, you have to either use a register color - and there are only 16
  678. - or allow the change to occur over as many as 3 pixels.
  679.   
  680. Enter AGA, and HAM8.  The mechanics of HAM8 are almost the same as they are
  681. for HAM, but there are important differences.  For one thing, the AGA
  682. chipset has 64 registers.  Each register holds a 24-bit value, rather than
  683. a 12-bit value.  And HAM8 is allowed in all modes, not just low resolution.
  684.   
  685. If you've followed the discussion so far, you've probably assumed that HAM8
  686. uses a two-bit specifier and a 6-bit modification value.  You'd be right.
  687. Just as in HAM, the first two bits specify the meaning of the remaining
  688. bits.  00 means that the next 6 bits specify one of the 64 registers; 01,
  689. 10, and 11 specify that the next 6 bits are to substitute for the Red,
  690. Green, or Blue component.  But, unlike HAM, we now have more color bits per
  691. gun (8) than we have modification bits.
  692.   
  693. HAM8 gets around this problem by replacing only the upper 6 bits of a
  694. component's 8-bit value; the lower 2 bits remain the same.  Because of
  695. this, a single register can only be modified to 262,144 different values.
  696. Since there are 64 registers, though, this shouldn't be too much of a
  697. problem.  To demonstrate HAM8, we'll use the same numbers as before, scaled
  698. up a notch or two.
  699.   
  700. The first pixel has a value of 00 100000.  This means "Use the color in
  701. color register 32." That register contains a 24-bit value, which - in
  702. decimal - is 128 (Red), 121 (Green) and 200 (Blue).  The next pixel has a
  703. value of 01 100001.  This means "Take the last pixel, and change the top 6
  704. bits of Red to 100001." Since the lower two bits - which were 00 - stay the
  705. same, the value of Red is now 10000100, or 132.  Green is still 121, and
  706. Blue is still 200.  Note that 132 was the next step up from 128, since HAM8
  707. modifications can only increment by a minimum of 4.
  708.   
  709. HAM8 makes it possible, in theory, to have 16,777,216 colors on screen.
  710. If, that is, you have enough pixels.  In practice, though, the 64 color
  711. registers are used to enable sharp transitions from one color to the next,
  712. eliminating the "fringing" effect that plagued regular HAM.  HAM8 images
  713. very closely approximate 24-bit images, and do so using only 8 bits, rather
  714. than 24, per pixel.
  715.   
  716. So now you know.  But really, there's no reason for you to fret over the
  717. details.  Settle in with your new AGA machine, load up your favorite AGA
  718. program, and let your imagination fly!  And keep a close watch on this
  719. space for AGA tips & tricks, scheduled for the next issue!
  720.   
  721.   
  722.   
  723.   
  724. ViewPort February, 1993                                            Page 11
  725.   
  726.                            The ABC's of A-Train
  727.                              by Sylvia Lutnes
  728.   
  729.   
  730. ANIMATION.  Yes, all your trains chug along on their tracks.  There are
  731. also surprises to discover -- Santa Claus and migrating birds, for two.
  732.   
  733. BUY and sell stocks (watch the market closely for trends), land, trains,
  734. commercial buildings, hotels, apartment complexes, etc.  Even ski resorts,
  735. amusement parks and stadiums.  If your lease buildings are not bringing in
  736. enough revenue, it's time to let them go.  The transfer of properties back
  737. and forth between you and the simulation seeds growth.  If you don't have
  738. the cash for a purchase you desire, get a bank loan.  Just remember that
  739. the bank and your broker are only open from 9-5 on weekdays.
  740.   
  741. CARGO.  The freight trains carry building materials which are necessary for
  742. both you and the simulation to construct buildings.  Build factories to
  743. manufacture these materials if you require more than what is supplied from
  744. the "outside world."
  745.   
  746. DAY and night.  Watch ambient light change as twilight approaches.  Enjoy
  747. the lights of your trains and buildings all night.
  748.   
  749. EDITOR. One is out for the MS-DOS version. Let's hope we get one too.
  750.   
  751. FUN.  And it is.  You can become lost for days in this simulation.  It's
  752. not difficult to learn the mechanics and it is rich enough to hold your
  753. interest for a very long time.
  754.   
  755. GRAPHICS.  These really grow on you.  (Pun intended) There's a lot of fine
  756. detail that is easy to miss when you're just beginning to learn the game.
  757.   
  758. HI-RES and lo-res versions are included, though a lo-res version is not as
  759. necessary as with previous Maxis games. See P.
  760.   
  761. INVOLVEMENT is active.  You can't just build tracks and lay trains and
  762. forget it.  However, once you've reached a point of stability and you are
  763. making a steady profit, you can relax, lean back, put your hands behind
  764. your head and simply watch.
  765.   
  766. JOYSTICK. No way. This is for mousers.
  767.   
  768. KUMQUAT. Oooops. Wrong game.
  769.   
  770. LEARN the rules and ins and outs of the game as well as a history of
  771. railroading in the excellent manual.  A short tutorial is provided...just
  772. enough to really whet your appetite.
  773.   
  774. MONEY. Don't run out or the game will end.
  775.   
  776. NEGATIVES.  If you have many switches on your tracks, selection becomes
  777. difficult from the schedule/switch slide-up panel.  Some tycoons have
  778. reported dissatisfaction with the music and sound effect.  I find the
  779. clickety-clack of the trains on the tracks rather soothing.
  780.   
  781. OPTIONS exist for Music/Sound On/Off, Day/Night color changes On/Off, and
  782. game speed.
  783.                                                                 (Continued)
  784.   
  785.   
  786.   
  787.   
  788.   
  789.   
  790. ViewPort February, 1993                                            Page 12
  791.   
  792.   
  793.   
  794. PORT.  Maxis again executes a first-rate port to the Amiga.  Sliding
  795. screens are used to display information and transaction buttons, thus
  796. eliminating the potential sluggishness of various open windows on the main
  797. screen.  Harddrive installable.  Scenarios can be saved in progress.
  798.   
  799. QUIT. Are you kidding?
  800.   
  801. REVENUE.  Your railroad operations and other holdings will earn (or lose)
  802. money.  You must pay taxes on your profits and properties.  Can't escape
  803. taxes even in a game.  The manual gives you the dates that taxes are
  804. assessed and paid.  You can thus take evasive measures at the appropriate
  805. time to lower your tax burden.
  806.   
  807. STATIONS.  Your trains load and unload cargo and passengers and bypass
  808. stations according to the schedule you set up.
  809.   
  810. TRACKS.  Trains need them, ya know.  You build these according to whim, or,
  811. if you want to get serious and enjoy the simulation, according to an
  812. intelligent plan.
  813.   
  814. UNWIND.  A-Train is a wonderful escape.  It's not as cut-throat as Railroad
  815. Tycoon and the delightful little trains will keep you mesmerized.
  816.   
  817. VIEW is from above at an angle.  This allows you to watch the skyscrapers
  818. grow dramatically taller.
  819.   
  820. WINNER.  Artdink (from Japan) created this game.  But Maxis had the
  821. intelligence and humility to recognize its worth and bring it to us.
  822. Everyone wins.
  823.   
  824. XENOPHOBES need not apply.  Most of the trains you can select appear to be
  825. not from our shores.
  826.   
  827. YUSER-FRIENDLY. But of course.
  828.   
  829. ZONE your residential and commercial areas through choice of building sites
  830. and proper scheduling of your commuter trains.
  831.   
  832.   
  833. A-Train created by Artdink
  834.         published by Maxis
  835.         2 Theatre Square
  836.         Suite 230
  837.         Orinda, CA 94563-3346
  838.   
  839.         Tel: 510-254-9700
  840.         Fax: 510-253-3736
  841.   
  842.         Retail: $69.95
  843.   
  844.   
  845.   
  846.   
  847.   
  848.   
  849.   
  850.   
  851.   
  852.   
  853.   
  854.   
  855.   
  856. ViewPort February, 1993                                            Page 13
  857.   
  858.                              Pinball Fantasies
  859.   
  860.                                 By Bob Eller
  861.   
  862.   
  863. If you're part of the "30 to 40 sumthin" crowd, you can remember back to a
  864. time when going to the arcade had nothing at all to do with video.  The
  865. arcade was populated by gleaming machines filled with shiny steel balls.
  866. There was something special about feeling the pull of the plunger in your
  867. hand, the tactile response of the flipper, and the sounds of the machine
  868. that made the trip worthwhile.  For those who remember the attraction of
  869. those magical machines, and those who just like a great video game, 21st
  870. Century Entertainment and Digital Illusions have teamed up to bring the
  871. feel of real pinball action to the Amiga with Pinball Fantasies.  Heck, if
  872. it was any more real you'd have to pop a quarter in the slot to start each
  873. game!
  874.   
  875. Pinball Fantasies, 21st Century's follow-up to their popular Pinball
  876. Dreams, comes with four tables:
  877.   
  878. PARTYLAND, pinball with an amusement park theme.
  879. BILLION DOLLAR GAME SHOW, a tv style game show with a touch of Wheel of
  880.    Fortune thrown in.
  881. SPEED DEVILS, pinball action with a race car circuit.
  882. STONES'N'BONES, a ghoulish  trip through the pinball graveyard.
  883.   
  884. Each table features multiple flippers, a dot matrix score panel at the top,
  885. great music and sound effects, and more detailed tables than those provided
  886. in Dreams.  If you're into tournament play, up to eight players may compete
  887. per game.  Should you want to add additional tables, 21st Century indicates
  888. that Pinball Fantasies includes the ability to add additional tables as
  889. they become available.
  890.   
  891. Included in the box is the main program disk, two table disks, and a short
  892. manual explaining how to operate Pinball Fantasies, as well as the
  893. specifics of how to score points on each table.  The disks are copy
  894. protected and cannot be backed-up.  However, there's a card in the box that
  895. explains how to upgrade to a version of Fantasies that installs on a hard
  896. drive, at an additional cost of $10.
  897.   
  898. A loyal Pinball Fantasies following has erupted in the *StarShip* on GEnie!
  899. Category 6, Topic 60, of the Bulletin Board is filled with notes and tips
  900. to get you started, and even some amazing scores.  Ken Hart (K.Hart3)
  901. appears to be the top scorer with over 7 TRILLION points in
  902. Stones'N'Bones...  an amazing display of skill or a program bug...  you be
  903. the judge!  If you'd like to try before you buy, check out File #16890 in
  904. the StarShip's file area for a demo version of Pinball Fantasies.
  905.   
  906. One word of caution, the disk version of Fantasies appears to work on all
  907. Amiga models EXCEPT the A4000.
  908.   
  909. Pinball Fantasies is so real that you might find yourself banging the
  910. computer to put a little english on the ball.  For the pinball devotee,
  911. Pinball Fantasies is a dream come true.
  912.   
  913.   
  914. 21st Century Entertainment, Inc.
  915. P.O. Box 415
  916. Webster, NY 14580
  917. (716) 739-0998
  918.   
  919.   
  920.   
  921.   
  922. ViewPort February, 1993                                            Page 14
  923.   
  924.                         Running with ARexx, Part 2
  925.                               by Robin Evans
  926.   
  927. In our first ARexx tutorial we looked at some of the basic building blocks
  928. of an ARexx program.  This time, we'll look at the outline of a real
  929. program.  We'll start with easy jog:  The program is simple and won't do
  930. all the things we'll want it to do in the future, but it will serve as the
  931. foundation for bigger things to come in future tutorials.
  932.   
  933. To use UnCrunch, you must have the various archive programs somewhere in
  934. your command path.  (C:  is the traditional location.) This is how you
  935. would call the program from the Amiga shell:
  936.   
  937.    rx UnCrunch <filename> <destination>
  938.   
  939. The filename is required and must end with a valid archive extention.  The
  940. destination directory is optional.  If nothing is specified, the program
  941. will put uncrunched files in RAM:, although that can be changed.
  942.   
  943. /**********************************************************************
  944.      UnCrunch.rexx
  945.      Unarchive any file.
  946.                 Here's the comment-close marker -->                   */
  947.   
  948. /* 6*/   arg FileName UcDir .
  949.          if UcDir = '' then   /* Is the variable equal to nothing?    */
  950.             UcDir = 'RAM:'    /* If so, use RAM: Change this to RAD:  */
  951.                               /* or VD0: if you prefer to use them.   */
  952.          else
  953.             /*========================================================
  954.             The IF instruction below is executed only when there was
  955.             no match to the original IF
  956.             --------------------------------------------------------*/
  957. /*15*/      if right(UcDir, 1) ~= ':' & right(UcDir, 1) ~= '/' then
  958.                UcDir = UcDir || '/'
  959.          ArcExt = right(FileName, 3) /*18*/   select   /* SELECT uniquely
  960. requires the END keyword without DO */
  961.                   /* The '|' symbol means 'OR' */
  962.             when ArcExt = 'LZH' | ArcExt = 'LHA' then
  963.                   /* Substitute 'lha' for 'lz'if you prefer to use it */
  964.                'Lz -x x' FileName '#?' UcDir
  965.             when ArcExt = 'ZOO' then
  966.                call SetDest('ZOO x //') /* The 'internal function' here */
  967.             when ArcExt = 'ARC' then    /* will be explained in next    */
  968.                call SetDest('ARC x')    /* month's ViewPort tutorial    */
  969.             when ArcExt = 'ZIP' then
  970.                call SetDest('UNZIP') /*29*/      otherwise do
  971.                /* This is executed when there was no match above */
  972.                say FileName 'is not valid archive'
  973.                say 'It must end in "LZH", "LHA", "ZOO", "ZIP", or "ARC"'
  974.                exit 9   /* Program ends here with an error code of 9 */
  975.             end      /* end otherwise block */
  976.          end      /* end select. */
  977.       exit 0   /* Tells ARexx to stop executing commands here */
  978.   
  979.       SetDest:       /* The ':' indicates this is a label which starts  */
  980.          arg AProg   /* an 'internal function                           */
  981.          say 'Sorry.' word(AProg,1) 'uncrunching not yet implemented.'
  982.       return
  983.   
  984.   /*  [End of Program] Stop highlighting text on the line above this one.
  985. *********************************************************(Continued)*****/
  986.   
  987.   
  988. ViewPort February, 1993                                           Page 15
  989.   
  990.   
  991. Don't worry; you don't have to type in the code on the previous page.  In a
  992. cybermag like ViewPort, you can use your text editor or word processor to
  993. block out the examples and save them to your rexx:  directory.  Start your
  994. block at the opening comment, and extend it to the line above [End of
  995. Program].  Save the blocked section to rexx:UnCrunch.rexx.
  996.   
  997. LINES 6-12
  998.   
  999. The keyword ARG is an abbreviation for the instruction PARSE UPPER ARG.
  1000. PARSE is an extraordinary instruction that gives ARexx power to handle text
  1001. strings which is unmatched in most programming languages.  As we've used it
  1002. here, the instruction picks up the first two words (which are anything with
  1003. a space on either side) typed in on the CLI after the program name.  In
  1004. this case, we've picked up the filename and uncrunch directory (if it's
  1005. included).
  1006.   
  1007. The ARG instruction also translates values into upper case (capital
  1008. letters).  That's useful in this program, but there are times when it's
  1009. undesirable.  In those cases, use the unabbreviated instruction PARSE ARG.
  1010.   
  1011. IF, DO, & END
  1012.   
  1013. Notice that the IF instructions in lines 7 and 15 and the WHEN instructions
  1014. below are not followed by an 'end' or 'endif' keyword.  In many languages,
  1015. 'endif' is a required part of any 'if' command.  In ARexx, however, the
  1016. IF/THEN instruction will automatically execute the one instruction which
  1017. follows it, so 'endif' is not required.
  1018.   
  1019. That works fine here, since only one instruction is needed after the
  1020. comparison.  In many situations, however, we'll want to execute several
  1021. instructions.  That's when the keyword DO is useful.  It's used in line 29
  1022. to group instructions together which are all executed when OTHERWISE is
  1023. called.  END is a subkeyword which must always accompany DO.
  1024.   
  1025. LINES 15-17
  1026.   
  1027. Here we find a new aspect of the REXX language called functions.  There are
  1028. three classes of functions which work in the same way.  RIGHT() is a
  1029. 'built-in function' which is always available to any ARexx program.  Line
  1030. 21 shows a standard form of the function.  The values inside the
  1031. parentheses are 'parameters' which are 'passed' to the function.  In this
  1032. case, the RIGHT() function gets the value of the variable FileName and the
  1033. number 3.  It then 'returns' a value which is assigned to the variable
  1034. ArcExt -- a string comprised of the last (or right-most) 3 characters of
  1035. the variable FileName.
  1036.   
  1037. In line 15, the same function is used without a variable assignment because
  1038. the value returned by the function (the last character of the variable
  1039. UcDir) is used directly in the IF clause.
  1040.   
  1041. LINES 18-28
  1042.   
  1043. Here we see comparison operators in action as ARexx compares a number of
  1044. possible values.  Line 22 includes a command 'LZ' which has nothing to do
  1045. with ARexx.  ARexx won't recognize this command and will send it to its
  1046. 'host address' -- the shell in this case.  The command will then be
  1047. executed in the shell just as it would be if you typed it in.
  1048.   
  1049. And that's all there is to it!  Stay tuned; we'll head for more uncharted
  1050. territories in future installments of Running with ARexx.
  1051.   
  1052.   
  1053.   
  1054. ViewPort February, 1993                                           Page 16
  1055.   
  1056.                                   PCMCIA
  1057.                        A prelude to portability and
  1058.                a versatile expansion system or just another
  1059.                      marketing mistake from Commodore?
  1060.   
  1061.   
  1062.                     by Greg Guthman (a.k.a. Amiga.Doc)
  1063.                                   Part I
  1064.   
  1065. With the release of the Amiga-based CDTV system, Commodore introduced the
  1066. Amiga community to their first taste of an emerging expansion technology.
  1067. Since this first somewhat failed attempt, we now have two Amiga systems
  1068. (The A600 and A1200) that have a fully compliant version of this very
  1069. versatile expansion system.  In the first of this two-part article, we will
  1070. take a look at the history and technical specifications of the PCMCIA
  1071. standard.  In the following installment, we will wrap up with a list of
  1072. products available for the Amiga and what we might see in the future.
  1073.   
  1074. History:
  1075.   
  1076. In 1989, the Personal Computer Memory Card Association (PCMCIA), in the
  1077. United States, and the Japanese Electronic Industry Development Association
  1078. (JEIDIA), in Japan, jointly developed a new expansion standard.  This
  1079. association now boasts some of the heaviest hitters in the computer
  1080. industry, including our very own Commodore.  The first version of this
  1081. standard (1.0) laid out the specifications for memory cards for portable
  1082. computers.  This standard supported most memory types, including EEPROM
  1083. (Electrically Eraseable Programmable Read Only Memory) and SRAM (The very
  1084. fast Static RAM).  This system employs a very rugged card about the size of
  1085. thick playing card.  The reason we have not heard much about this standard
  1086. is due to its built-in limitation of only supporting memory cards.  Most
  1087. portable manufacturers already had the foresight to include a proprietary
  1088. memory card standard and the PCMCIA standard was just too little, too late.
  1089.   
  1090. By September 1991, the PCMCIA released version 2.0 of this expansion
  1091. standard.  The PCMCIA worked closely with the JEIDIA to ensure that the
  1092. standard remained compatible with the Japanese version.  As a result,
  1093. version 2.0 PCMCIA is equivalent with JEIDIA 4.2.  The new version allowed
  1094. for support of a host of new types of cards, including modems, LAN adapters
  1095. and even hard drives on a card!  While most cards out on the market today
  1096. still support the original standard, many more that need the 2.0 PCMCIA
  1097. version are being introduced today.  The new standard also defined the way
  1098. an operating system should interface with the cards, and even allowed
  1099. applications to be loaded on an EEPROM and executed directly from within
  1100. the card.  This Execute In Place (XIP) design could allow developers to
  1101. sell a card with the application and the necessary RAM all on one card,
  1102. including a lithium battery to retain the data files written directly to
  1103. the card.  How does Deluxe Paint IV with about 8 Megs of its own RAM sound?
  1104. The new standard also set forth the extended physical dimensions of the
  1105. card itself.
  1106.   
  1107. Specifications:
  1108.   
  1109. The physical specifications for the PCMCIA system did not really become
  1110. useful until version 2.0 of the standard.  This set forth two card sizes
  1111. and later added a third to allow very thick cards.  The card is 2.12 inches
  1112. wide by 3.37 inches deep.  Type I cards are 3.3 millimeters thick, and the
  1113. type II card extends the center of the card to a thickness of 5.0
  1114. millimeters with a 3.3 millimeter lip around the edge to retain size
  1115. compatibility with Type I slots.
  1116.                                                                 (Continued)
  1117.   
  1118.   
  1119.   
  1120. ViewPort February, 1993                                           Page 17
  1121.   
  1122. The Type III card has the same style as the Type II card, but includes a 10
  1123. millimeter thickness in the middle.  The Commodore slots in the A600 and
  1124. A1200 support Type I and Type II cards.  To date, there is only one
  1125. manufacturer who requires a Type III card, and that is for a hard drive.
  1126. The physical specification also has a very sturdy and unique connection
  1127. that allows one to remove or install cards while the host computer is
  1128. powered up!  Recent extensions to the standard have allowed slightly longer
  1129. cards that stick out of the port for LAN/Modem connections.
  1130.   
  1131. The electrical specification for PCMCIA defines a 68-pin connection with a
  1132. female connector on the card.  It also defines a unique system of different
  1133. length pins that guarantees that the card will have power applied first and
  1134. removed last when inserted to a powered host.  The standard supports a
  1135. 16-bit data bus and a 26-bit address bus.  This allows up to 64MB of
  1136. address space, but unfortunately is half the data bus of the Amiga 1200.
  1137. In the next article we will look on how this and some other limitations may
  1138. make PCMCIA a second choice for your expansion needs.  The standard does
  1139. support another unique feature that allows a host to redefine the pins for
  1140. either memory type cards or Input/Output cards.  As you look at the pinout
  1141. list below, you will that many pins have multiple personalities.
  1142.   
  1143. Pin Function                     I/O  | Pin Function                     I/O
  1144. --------------------------------------|-------------------------------------
  1145. 1   Ground (GND)                 GND  | 2   Data bit     3 (D3)          I/O
  1146. 3   Data bit     4 (D4)          I/O  | 4   Data bit     5 (D5)          I/O
  1147. 5   Data bit     6 (D6)          I/O  | 6   Data bit     7 (D7)          I/O
  1148. 7   Card enable (-CE1)           I    | 8   Address bit 10 (A10)         I
  1149. 9   Output enable (-OE)          I    | 10  Address bit 11 (A11)         I
  1150. 11  Address bit  9 (A9)          I    | 12  Address bit  8 (A8)          I
  1151. 13  Address bit 13 (A13)         I    | 14  Address bit 14 (A14)         I
  1152. 15  Write enable (-WE/PGM)       I    | 16  Ready/Busy or Interuput      O
  1153. 17  Power (Vcc)                       |     Request (+RDY/-BSY(-IREQ))
  1154. 18  Programming Voltage (Vpp1)   I    | 19  Address bit 16 (A16)         I
  1155. 20  Address bit 15 (A15)         I    | 21  Address bit 12 (A12)         I
  1156. 22  Address bit  7 (A7)          I    | 23  Address bit  6 (A6)          I
  1157. 24  Address bit  5 (A5)          I    | 25  Address bit  4 (A4)          I
  1158. 26  Address bit  3 (A3)          I    | 27  Address bit  2 (A2)          I
  1159. 28  Address bit  1 (A1)          I    | 29  Address bit  0 (A0)          I
  1160. 30  Data bit     0 (D0)          I/O  | 31  Data bit     1 (D1)          I/O
  1161. 32  Data bit     2 (D2)          I/O  | 33  Write Protect or I/O port    O
  1162. 34  Ground (GND)                      |     is 16 bit (+WP(-IOIS16))
  1163. 35  Ground (GND)                      | 36  Card detect (-CD1)           O
  1164. 37  Data bit    11 (D11)         I/O  | 38  Data bit    12 (D12)         I/O
  1165. 39  Data bit    13 (D13)         I/O  | 40  Data bit    14 (D14)         I/O
  1166. 41  Data bit    15 (D15)         I/O  | 42  Card enable (-CE2)           I
  1167. 43  Refresh (RFSH)               I    | 44  Reserved or I/O Read (-IORD) I
  1168. 45  Reserved or I/O Write (-IOWR)I    | 46  Address bit 17 (A17)         I
  1169. 47  Address bit 18 (A18)         I    | 48  Address bit 19 (A19)         I
  1170. 49  Address bit 20 (A20)         I    | 50  Address bit 21 (A21)         I
  1171. 51  Power (Vcc)                  I    | 52  2nd Programming Voltage (Vpp2)
  1172. 53  Address bit 22 (A22)         I    | 54  Address bit 23 (A23)         I
  1173. 55  Address bit 24 (A24)         I    | 56  Address bit 25 (A25)         I
  1174. 57  Reserved                          | 58  Reset (+RST)                 I
  1175. 59  Wait for bus cycle (-WAIT)   O    | 60  Reserved or Input            O
  1176. 61  Register select (-REG)       I    |     Acknowledge (-INPACK)
  1177. 62  Battery detect 2 or Audio    O    | 63  Battery detect 1 or card     O
  1178.     Digital Waveform (BVD2(-SPKR))    |     status changed (BVD1(-STSCHG))
  1179. 64  Data bit     8 (D8)          I/O  | 65  Data bit     9 (D9)          I/O
  1180. 66  Data bit    10 (D10)         I/O  | 67  Card Detect2 (-CD2)          O
  1181. 68  Ground (GND)                      |
  1182. -----------------------------------------------------(Continues)------------
  1183.   
  1184.   
  1185.   
  1186. ViewPort February, 1993                                        Page 18
  1187.   
  1188.   
  1189. As you can see many pins have two functions.  All cards are assumed to be
  1190. memory cards until proven otherwise.  At that point, the host redefines the
  1191. pins to become an I/O device.  This allows the I/O device to set up various
  1192. parameters, like whether or not the device needs an 8 or 16 data path (Pin
  1193. 33 is enabled for 16 bit).  An I/O device also has access to the audio
  1194. channel via Pin 62.  This could be used to send Digital data from a sound
  1195. sampler to the Amiga for editing.  In the Memory card mode, the standard
  1196. allows some interesting features.  For example, take a look at pin 33
  1197. again.  This pin will set write protect on the RAM and could be toggled via
  1198. software to protect one from writing over valuable data.  In fact, with
  1199. battery backed up RAM, one could write data to the card, protect it, and
  1200. then pull it out while the machine was still powered.  Imagine having a
  1201. whole box filled with 64MB cards with tons of data just waiting to be
  1202. accessed.
  1203.   
  1204. The possibilities could be endless for the Amiga if the developer community
  1205. embraces the standard.  Fortunately, we may not have to wait for them
  1206. because many devices designed for other platforms will be usable on the
  1207. Amiga if "Driver" software can be written.  In the next issue of ViewPort,
  1208. we will take a look at the products available now for the Amiga and what we
  1209. might see in the near future.  With this information in hand, we can decide
  1210. if this is a waste of prime computing real estate or if an Amiga
  1211. 500/2000/3000/4000 PCMCIA adapter might be the project of the year!
  1212.   
  1213.   
  1214.                                  End Notes
  1215.   
  1216. Have you considered a career as a writer for ViewPort?  While it's true
  1217. that our pension plan is lousy, we can reward you for your efforts with a
  1218. GEnie Gift of Time.  Send GEnie mail to JIM.MEYER for details, and for our
  1219. writer's guidelines.
  1220.   
  1221. If you got this issue of ViewPort from some place other than GEnie, we'd
  1222. like to hear from you.  We encourage distribution of ViewPort, and we'd be
  1223. interested in finding out exactly where it goes.  Drop us a line, tell us
  1224. where you read ViewPort, and let us know what you think.  Our address is:
  1225.   
  1226. ViewPort                   ________________________________________________
  1227. 3018 J St. Suite 132      |                                                |
  1228. Sacramento, CA 95816      |   Virtual Coupon from Blue Ribbon SoundWorks   |
  1229.                           |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   |
  1230.                           | For the BEST 16-bit CD-quality Sound and Music |
  1231.                           | on your Amiga 2000, 3000 or 4000 model, you    |
  1232. Coming Attractions in     | want the One-Stop Music Shop with its fine     |
  1233. the March issue of        | E-Mu SoundEngine from Blue Ribbon SoundWorks.  |
  1234. ViewPort Online Magazine  |                                                |
  1235. ~~~~~~~~~~~~~~~~~~~~~~~~  | Say "GEnie" and get a FREE MusicWare Disk      |
  1236.  Ami-Back Tools           | worth $24.95 when you order a One-Stop Music   |
  1237.  Vistapro 3.0             | Shop from Blue Ribbon SoundWorks! Pick from:   |
  1238.  AGA Tips & Tricks        |                                                |
  1239.  Directory Opus 4.0       |  Beatles Disk #1:  8 Days/Week, Back in USSR,  |
  1240.  Running with ARexx       |  Daytripper, Good Day Sunshine, Hello G'bye    |
  1241.  One-Stop Music Shop      |                                                |
  1242.  ImageFX                  |  Classical Plus: Ballade 1, Opus 23; Nocturne  |
  1243.  ImageMaster              |  & March; Canon; Toccata & Fugue in D minor    |
  1244.  Morphus                  |                                                |
  1245.                           |  Hip-Hop Disk: MegaMix, Pump Up the Jam, Bad   |
  1246.                           |  Girls, Tom's Diner, Neutron Dance.            |
  1247.                           |                                                |
  1248.                           | Order from Blue Ribbon by calling 404/315-0212 |
  1249.                           | and saying "GEnie."  Offer ends March 31, 1993 |
  1250.                           |________________________________________________|
  1251.   
  1252.   
  1253.